import domain from 'ad-ui-domain'
import createReducer from 'ad-ui-reducer'
import { AppState } from '@stores/interface'

const Model = 'Order'
const Config = {
  findOrderById: (enitity: AppState, response: any) => domain.create(Model, response),
}

export default createReducer(Model, Config)
